#include<stdio.h>
	int main()
	{  
	  /*********Begin*********/
	  int num;
      printf("");
	  scanf("%d",&num);
//将x分解为各个数值
int ge,shi,bai;
ge=num%10;
shi=(num/10)%10;
bai=num/100;
printf("%d %d %d\n",bai,shi,ge);

	  /*********End**********/ 
       return 0;
	}
